home *** CD-ROM | disk | FTP | other *** search
- Path: res.com!usenet
- From: danlynes@res.com
- Newsgroups: comp.lang.c
- Subject: Re: Color Text
- Date: 17 Jan 1996 01:10:09 GMT
- Organization: RES Online
- Message-ID: <4dhi9h$4ot@clare.res.com>
- References: <4dgrda$dgq@garuda.csulb.edu>
- Reply-To: danlynes@res.com
- NNTP-Posting-Host: di025.res.com
- X-Newsreader: IBM NewsReader/2 v1.2.5
-
- In <4dgrda$dgq@garuda.csulb.edu>, reasmey@csulb.edu (Reasmey Ly) writes:
-
- >Help! I need to know how to write a program that randomly display color
- >on PRESS ANY KEY text. I saw many demos and programs doing that. So
- >if anyone knows how to write this small program please post or email me
- >the source code or anything that show me how to do it.
-
- Might help if we knew what platform you were working on, as every
- platform seems to be different, using cprintf or cputs under DOS,
- combined with _textcolor, or VioWrAttr and printf under OS/2, or
- if you're using UNIX, you're probably using Curses, which uses a
- method where it #ifdef and #ifndef's all particulars to each UNIX
- platform.
-
- +------------------------------------------------------+
- ! OS/2 - The Champion of Operating Systems !
- ! Enitharmon/2 - A Powerful BBS Package !
- ! What a great pair! danlynes@res.com !
- ! www.res.com/~danlynes/index.html !
- ! www.res.com/~danlynes/Enitharmon!2/index.html !
- ! The Enitharmon Beta project is now under way. !
- ! To subscribe to the mailing list, send e-mail to !
- ! danlynes@res.com or daniel.lynes@ideasnet.com !
- +------------------------------------------------------+
-
-